package br.net.woodstock.tickettoride.spring.web.error;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.web.context.WebApplicationContext;

@Controller
@Scope(value = WebApplicationContext.SCOPE_REQUEST)
public class HTTPError extends AbstractError {

	private static final long	serialVersionUID	= -8774101697409743410L;

	private String				code;

	public HTTPError() {
		super();
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(final String code) {
		this.code = code;
	}

}
